cmake_minimum_required(VERSION 3.25)

list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
include(fetch_project_options)

project(cpp_starter LANGUAGES CXX)

include(enable_customized_project_options)
include(add_code)

# -----------------------------------------------------------------------------------------------------------------------
add_code_options(
  DEPENDENCIES

  LIBRARIES

  INCLUDES
  include
)

# ------------------------------------------------------------------------------------------------------------------------
add_code(test
  test/main.cpp
)
add_code(example_single
  src/example_single/main.cpp
)
add_code(example_multiple
  src/example_multiple/main.cpp
  src/example_multiple/hello.cpp
)